//
//  DLSportMainViewController.m
//  DLSport
//
//  Created by DongL on 2017/4/21.
//  Copyright © 2017年 DongL. All rights reserved.
//

#import "DLSportMainViewController.h"
#import "DLSportTrackViewController.h"
#import "DLControlViewController.h"
#import "DLSportTrack.h"

@interface DLSportMainViewController ()

@end

@implementation DLSportMainViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
}
- (IBAction)StartMove:(UIButton *)sender {
    
    DLSportTrack *track = [[DLSportTrack alloc] initWithSportType:sender.tag withSportState:DLSportStateContinue];
    DLControlViewController *mainVc = [[DLControlViewController alloc] init];
    
    mainVc.track = track;
    [self presentViewController:mainVc animated:YES completion:nil];
    
}


@end
